﻿namespace Myotragus.Data.Tupples.Tests.Domain
{
	public class CategoryProductsKey : Tupple<CategoryProductsKey>
	{
		public int ProductId { get;set;}
		public int CategoryId { get;set;}
	}
	
	public class CategoryProducts
	{
		public CategoryProducts()
		{
			Key = new CategoryProductsKey() ;
		}

		public virtual CategoryProductsKey Key
		{
			get;
			set;
		}

		public virtual int ProductId
		{
			get { return Key.ProductId ;}
			set { Key.ProductId = value ; }
		}

		public virtual int CategoryId
		{
			get { return Key.CategoryId;}
			set { Key.CategoryId = value ;}
		}

		public virtual string CustomDescription { get;set;}
	}
}
